home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / kernserv / ns_timer.h < prev    next >
Text File  |  1995-02-14  |  602b  |  23 lines

  1. /*
  2.  * The machine independent clock and timer definitions.
  3.  *
  4.  * Copyright (c) 1991 NeXT, Inc.
  5.  *
  6.  * HISTORY
  7.  *
  8.  *  6Dec91 Brian Pinkerton at NeXT
  9.  *    Created.
  10.  */
  11. #import <kernserv/clock_timer.h>    /* for ns_time_t */
  12. #import <bsd/sys/time.h>
  13. #import <mach/time_stamp.h>
  14.  
  15. void ns_timeout(func proc, void *arg, ns_time_t time, int pri);
  16. void ns_abstimeout(func proc, void *arg, ns_time_t deadline, int pri);
  17. boolean_t ns_untimeout(func proc, void *arg);
  18. void ns_sleep(ns_time_t delay);
  19.  
  20. ns_time_t timeval_to_ns_time(struct timeval *tv);
  21. void ns_time_to_timeval(ns_time_t nano_time, struct timeval *tvp);
  22.  
  23.